ESRI.ArcGIS.Mobile.Client
Find(FeatureSource,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace > Generic FeatureCollection Class > Find Method : Find(FeatureSource,Int32) Method

featureSource
The feature layer the feature exists in.
objectId
The object ID of the feature to find.
Finds a Feature in the collection given a feature layer and object ID.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Find( _
   ByVal featureSource As FeatureSource, _
   ByVal objectId As Integer _
) As T
C# 
public T Find( 
   FeatureSource featureSource,
   int objectId
)

Parameters

featureSource
The feature layer the feature exists in.
objectId
The object ID of the feature to find.

Return Value

The feature if found, otherwise null.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also